<?php

/**
 * Created by PhpStorm.
 * User: WhiteBlue
 * Date: 15/3/3
 * Time: 下午4:52
 */
class config
{
    private $configs;

    function __construct()
    {
        $this->configs = require("./app/configs/myConfig.php");
    
    }

    public function getConfig($index)
    {
        return $this->configs[$index];
    }
}